<include file="Public:head" />
<include file="Public:header" />
<include file="Public:left" />

<section id='content'>
<div class='container-fluid'>
<div class='row-fluid' id='content-wrapper'>
<div class='span12'>
<div class='row-fluid'>
    <div class='span12'>
        <div class='page-header'>
            <h1 class='pull-left'>
                <i class='icon-table'></i>
                <span>简历管理</span>
            </h1>
            
        </div>
    </div>
</div>
<!-- 
<div class='row-fluid'>
   <div class='span12'>
            <div class='pull-right'>
                <form action="{:U('Company/company_job_list')}" method="post" style="margin:0px;">
                    <input id="search_key" placeholder="企业关键字" type="text" name="company_name">
                    <input type="submit" value="搜索" name="sub" style="margin-bottom:10px;">
                </form>
        </div>
    </div>
</div> -->


<div class='row-fluid'>
    <div class='span12 box bordered-box blue-border' style='margin-bottom:0;'>
        <div class='box-header blue-background'>
            <div class='title'>投递记录</div>
            
        </div>
        <div class='box-content box-no-padding'>
            <div class='responsive-table'>
                <div class='scrollable-area'>
                    <table class='table' style='margin-bottom:0;'>
                        <thead>
                        <tr>
                            <th>投递来源</th>
                            <th>求职者</th>
                            <th>联系电话</th>
                            <th>职位名称</th>
                            <th>投递时间</th>
                            <th>操作</th>
                            <th>简历查看状态</th>
                            <th>求职者状态</th>
                        </tr>
                        </thead>
                        <tbody>
                            <volist name="list.data" id="h">
                                <tr>
                                    <td><switch name="h.from">
                                            <case value="1" >网站</case>
                                            <case value="2">微信</case>
                                            <default/>客服帮投
                                        </switch></td>                                 
                                    <td>{$h.info.truename}</td>
                                    <td>{$h.info.phone}</td>
                                    <td>{$h.hiring.title}</td>
                                    <td>{$h.send_time|date="Y-m-d H:i",###}</td>
                                    <td>
										<a  data-toggle='modal' href='#modal-resume{$h.id}'>查看简历</a>|<a data-toggle='modal' href='#modal-job{$h.id}'>查看职位</a>
									</td>
                                    <td><eq name="h.is_del" value="0">
                        <if condition="$h.is_check eq 1">已查看
                        <elseif condition="$h.is_check eq 0"/><font color="red">未查看</font>
                        <else />
                            <empty name="h.is_audition">
                            已发送邀请<else/>
                            <switch name="h.is_audition" >
                                <case value="0">通知未到</case>
                                 <case value="1">未通过面试</case>
                                 <case value="2">邀请复试</case>
                                 <case value="3">通知到岗</case>
                                 <default />已入职
                            </switch>
                            </empty>
                          </if>
                        <else/>
                          不合格
                        </eq></td>
                            <td><switch name="h.is_go" >
                                <case value="0">无</case>
                                 <case value="1">答应面试</case>
                                 <case value="2">拒绝面试</case>
                            </switch></td>    
                                </tr>
                              <div class='modal hide fade' id='modal-resume{$h.id}' role='dialog' tabindex='-1'>
                                    <div class='modal-body'>
                                        <p><image src="{$h.info.pic.url}" style="width:400px;">
                                        </p>
                                        <hr/>
                                        <p>姓名：{$h.info.truename}</p>
                                        <p>性别：{$h.info.xingbie|format_xingbie}</p>
                                        <p>年龄：{$h.info.shengri|format_age}岁</p>
                                        <p>身高：{$h.info.shengao}cm/{$h.info.tizhong}kg</p>
                                        <p>学历：{$h.info.xueli|getxueli}</p>
                                        <p>婚否：<switch name="h.info.hunyin">
                                                <case value="1" >未婚</case>
                                                <case value="2">已婚</case>
                                                <case value="3">已婚已育</case>
                                            </switch></p>
                                        <p>电话：{$h.info.phone}</p>
                                        <p>现居：{$h.info.pro|getareaname}-{$h.info.city|getareaname}-{$h.info.area|getareaname}</p>
                                        <p>刷新时间：{$h.info.ctime|date="Y-m-d H:i",###}</p>
                                        <hr/>
                                        <p>工作经历:</p>
                                        <volist name="h.exper" id="v">
                                        <p>起止时间：{$v.jobbegin}-- {$v.jobend}
                                        </p>
                                        <p>公司或品牌：{$v.jobname}
                                        </p>
                                        <p>职位：{$v.jobzhiwei}
                                        </p>
                                        </volist>
                                        <hr/>
                                        <p>自我介绍：{$h.resume.myinfo}
                                        </p>

                                    </div>  
                                    <div class='modal-footer'>
                                        <button class='btn' data-dismiss='modal'>关闭</button>
                                    </div>
                                </div>  
                                <div class='modal hide fade' id='modal-job{$h.id}' role='dialog' tabindex='-1'>
                                    <div class='modal-body'>
                                        <p>职位名称：{$h.hiring.title}</p>
                                        <p>公司名称：{$h.hiring.cid|format_companyname}</p>
                                        <p>学历要求：{$h.hiring_info.edu|format_xueli}</p>
                                        <p>工作时间：{$h.hiring_info.worktime|format_worktime}</p>
                                        <p>工作经验：{$h.hiring_info.exper|format_exper}</p>
                                        <p>年龄要求：{$h.hiring_info.age_start}岁————{$h.hiring_info.age_end}岁</p>
                                        <p>性别要求：{$h.hiring_info.sex|format_xingbie}</p>
                                        <p>身高要求：{$h.hiring_info.height|format_height}</p>
                                        <p>月薪范围：{$h.hiring_info.salary}</p>
                                        <hr/>
                                        <p>工作地点：</p>
                                        <volist name="h.hiring.workplace" id="w">
                                        <p>
                                            <strong>{$w.area}</strong> &nbsp;：
                                            <volist name="w.stores" id="s">
                                             {$s.store_name}   &nbsp;  &nbsp; &nbsp;  
                                            </volist>
                                        </p>
                                        </volist>
                                        <hr/>
                                        <p>职位描述：</p>
                                        <p>{$h.hiring_info.intro}</p>
                                        <p>福利待遇：</p>
                                        <p>{$h.hiring_info.welfare}</p>
                                        <hr/>
                                        <p>联系人：{$h.com_info.contact}</p>
                                        <p>联系电话：{$h.com_info.call}</p>
                                        <p>面试地址：{$h.com_info.pro|getareaname}-{$h.com_info.city|getareaname}-{$h.com_info.area|getareaname}&nbsp;&nbsp;&nbsp;
                                        {$h.com_info.address}</p>  
                                    <div class='modal-footer'>
                                        <button class='btn' data-dismiss='modal'>关闭</button>
                                    </div>
                                </div>  
                            </volist>
                        </tbody>
                    </table>
                    <div>
                            {$list.html}
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</div>
</div>
</div>
</section>
</div>

<include file="Public:bottom" />
<script type="text/javascript">
    $(document).ready(function () {
      $("ul[class='nav nav-stacked']").removeClass('in');
      $("#resume").addClass('in');
      $("li[class='guan']").removeClass('active');
      $("#send_list").addClass('active');
    });
</script>